<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
Class category_model extends CI_Model {
    public function __construct() {
        parent::__construct();
        $this->load->database();
    }
    public function getList() {
        return $this->db->get('category')->result_array();
    }
 }
?>
